----------------------------------------------------------------------------------
      name:  <unnamed>
       log:  G:\My Drive\Research\CTC expansion\submission\ntj\stata replication f
> iles/output\table12.log
  log type:  text
 opened on:   3 Dec 2023, 18:17:41

. 
. use "$data/cpsmergeddata.dta", clear

. 
. *** total adults
. gen pop=(asecwt + spouseasecwt)

. egen totadults=sum(pop)

. di totadults
63512104

. drop pop

. 
. egen totkids=sum(newnumkidswt17)

. di totkids
72975832

. 
. ** total effect on poverty
. gen pooradults=(age>=18)*poor*(asecwt+spouseasecwt)

. egen totpooradults=sum(pooradults)

. 
. gen nolongerpooradults=(age>=18)*poor*(poorctc21==0)*(asecwt+spouseasecwt)

. egen totnolongerpooradults=sum(nolongerpooradults)

. 
. gen stillpooradults=(age>=18)*poor*(poorctc21==1)*(asecwt+spouseasecwt)

. egen totstillpooradults=sum(stillpooradults)

. 
. di totadults
63512104

. di totpooradults
7073402.5

. di totstillpooradults
5377019.5

. di totnolongerpooradults
1696382.8

. 
. di totpooradults/totadults
.11137094

. di (totstillpooradults)/totadults
.08466133

. 
. * row 1
. gen double group=(married==0)*(incwage>0)*(v25>0)*(agi2017<80000)*(calckids>0)*(
> samplejustwomen==1)

. 
. gen double group1=asecwt*avgtax*.75*group

. egen totgroup1a=sum(group1)

. 
. gen double group2=asecwt*avgtax*.75*group*poor

. egen totgroup2a=sum(group2)

. 
. gen double group3=asecwt*avgtax*.75*group*(poor==0)

. egen totgroup3a=sum(group3)

. 
. gen double group4=asecwt*avgtax*.75*group*(poor==0)*poorctc21nother

. egen totgroup4a=sum(group4)

. 
. gen double group5=asecwt*avgtax*.75*group*(poor==1)*(poorctc21==0)*poorctc21noth
> er

. egen totgroup5a=sum(group5)

. 
. gen pov1=(poor*group)/(group)
(23,056 missing values generated)

. gen pov2=(poor*group*(poorctc21==1))/(group)
(23,056 missing values generated)

. gen pov3=(poor*group*(poorctc21==1)+group4/asecwt+group5/asecwt)/(group)
(23,056 missing values generated)

. 
. egen pop=sum(group*asecwt)

. forvalues i=1/3{
  2.         egen povnum`i'a=sum(pov`i'*asecwt)
  3.         gen povrate`i'=povnum`i'a/pop
  4.         }

.         
. gen totgroup45a=totgroup4a+totgroup5a   

. sum pop totgroup1a totgroup2a totgroup45a povnum1a povnum2a povnum3a povrate1 po
> vrate2 povrate3

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
         pop |     26,546     5448138           0    5448138    5448138
  totgroup1a |     26,546    408557.1           0   408557.1   408557.1
  totgroup2a |     26,546    90656.45           0   90656.45   90656.45
 totgroup45a |     26,546    129215.5           0   129215.5   129215.5
    povnum1a |     26,546     1357735           0    1357735    1357735
-------------+---------------------------------------------------------
    povnum2a |     26,546    975326.4           0   975326.4   975326.4
    povnum3a |     26,546     1104542           0    1104542    1104542
    povrate1 |     26,546    .2492108           0   .2492108   .2492108
    povrate2 |     26,546    .1790201           0   .1790201   .1790201
    povrate3 |     26,546    .2027375           0   .2027375   .2027375

. 
. di "pov % decrease="
pov % decrease=

. di (povnum1a-povnum3a)/povnum1a
.18648184

. drop pov1 pov2 pov3 povrate* pop group5 group*

. 
. * row 2
. gen double group=(married==0)*(incwage>0)*(v25==0)*(agi2017<80000)*(calckids>0)*
> (samplejustwomen==1)

. 
. gen double group1=asecwt*avgtax*.25*group

. egen totgroup1b=sum(group1)

. 
. gen double group2=asecwt*avgtax*.25*group*poor

. egen totgroup2b=sum(group2)

. 
. gen double group3=asecwt*avgtax*.25*group*(poor==0)

. egen totgroup3b=sum(group3)

. 
. gen double group4=asecwt*avgtax*.25*group*(poor==0)*poorctc21nother

. egen totgroup4b=sum(group4)

. 
. gen double group5=asecwt*avgtax*.25*group*(poor==1)*(poorctc21==0)*poorctc21noth
> er

. egen totgroup5b=sum(group5)

. 
. gen pov1=(poor*group)/(group)
(25,243 missing values generated)

. gen pov2=(poor*group*(poorctc21==1))/(group)
(25,243 missing values generated)

. gen pov3=(poor*group*(poorctc21==1)+group4/asecwt+group5/asecwt)/(group)
(25,243 missing values generated)

. 
. egen pop=sum(group*asecwt)

. forvalues i=1/3{
  2.         egen povnum`i'b=sum(pov`i'*asecwt)
  3.         gen povrate`i'=povnum`i'b/pop
  4.         }

.         
. gen totgroup45b=totgroup4b+totgroup5b   

. sum pop totgroup1b totgroup2b totgroup45b povnum1b povnum2b povnum3b povrate1 po
> vrate2 povrate3

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
         pop |     26,546     1985433           0    1985433    1985433
  totgroup1b |     26,546    25003.57           0   25003.57   25003.57
  totgroup2b |     26,546    248.5144           0   248.5144   248.5144
 totgroup45b |     26,546    13828.83           0   13828.83   13828.83
    povnum1b |     26,546    17799.04           0   17799.04   17799.04
-------------+---------------------------------------------------------
    povnum2b |     26,546    14376.61           0   14376.61   14376.61
    povnum3b |     26,546    28205.45           0   28205.45   28205.45
    povrate1 |     26,546    .0089648           0   .0089648   .0089648
    povrate2 |     26,546     .007241           0    .007241    .007241
    povrate3 |     26,546    .0142062           0   .0142062   .0142062

. di "pov % decrease="
pov % decrease=

. di (povnum1b-povnum3b)/povnum1b
-.58466113

. drop pov1 pov2 pov3 povrate* pop group5 group*

. 
. * row 3
. gen double group=(married==1)*(incwage>0)*(agi2017<80000)*(calckids>0)*(sampleju
> stwomen==1)

. 
. gen double group1=asecwt*avgtax*.25*group

. egen totgroup1c=sum(group1)

. 
. gen double group2=asecwt*avgtax*.25*group*poor

. egen totgroup2c=sum(group2)

. 
. gen double group3=asecwt*avgtax*.25*group*(poor==0)

. egen totgroup3c=sum(group3)

. 
. gen double group4=asecwt*avgtax*.25*group*(poor==0)*poorctc21nother

. egen totgroup4c=sum(group4)

. 
. gen double group5=asecwt*avgtax*.25*group*(poor==1)*(poorctc21==0)*poorctc21noth
> er

. egen totgroup5c=sum(group5)

. 
. gen pov1=(poor*group)/(group)
(22,365 missing values generated)

. gen pov2=(poor*group*(poorctc21==1))/(group)
(22,365 missing values generated)

. gen pov3=(poor*group*(poorctc21==1)+group4/asecwt+group5/asecwt)/(group)
(22,365 missing values generated)

. 
. egen pop=sum(group*asecwt)

. forvalues i=1/3{
  2.         egen povnum`i'c=sum(pov`i'*asecwt)
  3.         gen povrate`i'=povnum`i'c/pop
  4.         }

. 
. gen totgroup45c=totgroup4c+totgroup5c   

. sum pop totgroup1c totgroup2c totgroup45c povnum1c povnum2c povnum3c povrate1 po
> vrate2 povrate3

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
         pop |     26,546     5882832           0    5882832    5882832
  totgroup1c |     26,546    95656.34           0   95656.34   95656.34
  totgroup2c |     26,546    13207.88           0   13207.88   13207.88
 totgroup45c |     26,546     21003.2           0    21003.2    21003.2
    povnum1c |     26,546    603615.4           0   603615.4   603615.4
-------------+---------------------------------------------------------
    povnum2c |     26,546    479620.8           0   479620.8   479620.8
    povnum3c |     26,546      500624           0     500624     500624
    povrate1 |     26,546    .1026063           0   .1026063   .1026063
    povrate2 |     26,546    .0815289           0   .0815289   .0815289
    povrate3 |     26,546    .0850991           0   .0850991   .0850991

. di "pov % decrease="
pov % decrease=

. di (povnum1c-povnum3c)/povnum1c
.17062423

. drop pov1 pov2 pov3 povrate* pop group5 group*

. 
. * row 4
. gen double group=(married==1)*(totincwage>incwage)*(agi2017<80000)*(calckids>0)*
> (samplejustwomen==1)

. 
. gen double group1=asecwt*newrtwchangespouse*.25*group

. egen totgroup1d=sum(group1)

. 
. gen double group2=asecwt*newrtwchangespouse*.25*group*poor

. egen totgroup2d=sum(group2)

. 
. gen double group3=asecwt*newrtwchangespouse*.25*group*(poor==0)

. egen totgroup3d=sum(group3)

. 
. gen double group4=asecwt*newrtwchangespouse*.25*group*(poor==0)*poorctc21notspou
> se

. egen totgroup4d=sum(group4)

. 
. gen double group5=asecwt*newrtwchangespouse*.25*group*(poor==1)*(poorctc21==0)*p
> oorctc21notspouse

. egen totgroup5d=sum(group5)

. 
. gen pov1=(poor*group)/(group)
(20,333 missing values generated)

. gen pov2=(poor*group*(poorctc21==1))/(group)
(20,333 missing values generated)

. gen pov3=(poor*group*(poorctc21==1)+group4/asecwt+group5/asecwt)/(group)
(20,333 missing values generated)

. 
. egen pop=sum(group*asecwt)

. forvalues i=1/3{
  2.         egen povnum`i'd=sum(pov`i'*asecwt)
  3.         gen povrate`i'=povnum`i'd/pop
  4.         }

.         
. gen totgroup45d=totgroup4d+totgroup5d   

. sum pop totgroup1d totgroup2d totgroup45d povnum1d povnum2d povnum3d povrate1 po
> vrate2 povrate3

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
         pop |     26,546     8750289           0    8750289    8750289
  totgroup1d |     26,546    172281.9           0   172281.9   172281.9
  totgroup2d |     26,546     25793.8           0    25793.8    25793.8
 totgroup45d |     26,546    84636.59           0   84636.59   84636.59
    povnum1d |     26,546     1026967           0    1026967    1026967
-------------+---------------------------------------------------------
    povnum2d |     26,546    751466.1           0   751466.1   751466.1
    povnum3d |     26,546    836102.6           0   836102.6   836102.6
    povrate1 |     26,546    .1173638           0   .1173638   .1173638
    povrate2 |     26,546     .085879           0    .085879    .085879
    povrate3 |     26,546    .0955514           0   .0955514   .0955514

. di "pov % decrease="
pov % decrease=

. di (povnum1d-povnum3d)/povnum1d
.18585269

. drop pov1 pov2 pov3 povrate* pop group5 group*

. 
. * row 5: sum up non-mom and potential spouse
. gen person1=(incwage>0)*(agi2017<80000)*(calckids>0)*(samplenotmoms==1)

. gen person2=(totincwage>incwage)*(agi2017<80000)*(calckids>0)*(samplenotmoms==1)
> *(married==1)

. 
. gen double group1=(asecwt*person1+spouseasecwt*person2)*avgtax*.25

. egen totgroup1e=sum(group1)

. 
. gen double group2=(asecwt*person1+spouseasecwt*person2)*avgtax*.25*poor

. egen totgroup2e=sum(group2)

. 
. gen double group3=(asecwt*person1+spouseasecwt*person2)*avgtax*.25*(poor==0)

. egen totgroup3e=sum(group3)

. 
. gen double group4=(asecwt*person1)*avgtax*.25*(poor==0)*poorctc21nother+(spousea
> secwt*person2)*avgtax*.25*(poor==0)*poorctc21notspouse

. egen totgroup4e=sum(group4)

. 
. gen double group5=(asecwt*person1)*avgtax*.25*(poor==1)*(poorctc21==0)*poorctc21
> nother+spouseasecwt*person2*avgtax*.25*(poor==1)*(poorctc21==0)*poorctc21notspou
> se

. egen totgroup5e=sum(group5)

. 
. gen pov1=(poor*(person1*asecwt+person2*spouseasecwt))

. gen pov2=(poorctc21*(person1*asecwt+person2*spouseasecwt))

. gen pov3=(poorctc21*(person1*asecwt+person2*spouseasecwt)+group4+group5)

. 
. egen pop=sum(asecwt*person1+spouseasecwt*person2)

. forvalues i=1/3{
  2.         egen povnum`i'e=sum(pov`i')
  3.         gen povrate`i'=povnum`i'e/pop
  4.         }

. 
. gen totgroup45e=totgroup4e+totgroup5e   

. sum pop totgroup1e totgroup2e totgroup45e povnum1e povnum2e povnum3e povrate1 po
> vrate2 povrate3

    Variable |        Obs        Mean    Std. dev.       Min        Max
-------------+---------------------------------------------------------
         pop |     26,546     1353110           0    1353110    1353110
  totgroup1e |     26,546     26314.4           0    26314.4    26314.4
  totgroup2e |     26,546    2960.785           0   2960.785   2960.785
 totgroup45e |     26,546    12238.83           0   12238.83   12238.83
    povnum1e |     26,546    129527.5           0   129527.5   129527.5
-------------+---------------------------------------------------------
    povnum2e |     26,546      107162           0     107162     107162
    povnum3e |     26,546    119400.9           0   119400.9   119400.9
    povrate1 |     26,546    .0957258           0   .0957258   .0957258
    povrate2 |     26,546    .0791969           0   .0791969   .0791969
    povrate3 |     26,546    .0882418           0   .0882418   .0882418

. di "pov % decrease="
pov % decrease=

. di (povnum1e-povnum3e)/povnum1e
.07818121

. drop pov1 pov2 pov3 povrate* group5 group* pop

. 
. gen pop=(asecwt*(incwage>0) + spouseasecwt*(totincwage>incwage))*(agi2017<80000)

. egen totpop=sum(pop)

. 
. forvalues i=1/2{
  2.         di totgroup`i'a+totgroup`i'b+totgroup`i'c+totgroup`i'd+totgroup`i'e
  3. }
727813.22
132867.44

. di totgroup4a+totgroup4b+totgroup4c+totgroup4d+totgroup4e+totgroup5a+totgroup5b+
> totgroup5c+totgroup5d+totgroup5e
260922.93

. 
. di totpooradults
7073402.5

. di totstillpooradults
5377019.5

. di (totstillpooradults+totgroup4a+totgroup4b+2*totgroup4c+2*totgroup4d+totgroup4
> e+totgroup5a+totgroup5b+2*totgroup5c+2*totgroup5d+totgroup5e)
5743582.2

. di totpooradults/totadults
.11137094

. di totstillpooradults/totadults
.08466133

. di (totstillpooradults+totgroup4a+totgroup4b+2*totgroup4c+2*totgroup4d+totgroup4
> e+totgroup5a+totgroup5b+2*totgroup5c+2*totgroup5d+totgroup5e)/totadults
.09043288

. di "pov % decrease="
pov % decrease=

. di (totpooradults-(totstillpooradults+totgroup4a+totgroup4b+2*totgroup4c+2*totgr
> oup4d+totgroup4e+totgroup5a+totgroup5b+2*totgroup5c+2*totgroup5d+totgroup5e))/to
> tpooradults
.18800291

. drop totgroup* povnum* person* pop totpop

. 
. 
. * KIDS 
. 
. drop stillpoor totstillpoor 

. 
. gen poorkids=poor*(newnumkidswt17)

. egen totpoorkids=sum(poorkids)

. di totpoorkids
10204335

. 
. gen stillpoor=poor*(poorctc21==1)*(newnumkidswt17)

. egen totstillpoor=sum(stillpoor)

. 
. di totkids
72975832

. di totpoorkids
10204335

. di totstillpoor
6939056.5

. 
. di totpoorkids/totkids
.1398317

. di (totstillpoor)/totkids
.09508705

. 
. * row 1
. gen double group=(married==0)*(incwage>0)*(v25>0)*(agi2017<80000)*(calckids>0)*(
> samplejustwomen==1)

. 
. gen double group1=newnumkidswt17*avgtax*.75*group

. egen totgroup1a=sum(group1)

. gen double group2=newnumkidswt17*avgtax*.75*group*poor

. egen totgroup2a=sum(group2)

. 
. gen double group3=newnumkidswt17*avgtax*.75*group*(poor==0)

. egen totgroup3a=sum(group3)

. 
. gen double group4=newnumkidswt17*avgtax*.75*group*(poor==0)*poorctc21nother

. egen totgroup4a=sum(group4)

. 
. gen double group5=newnumkidswt17*avgtax*.75*group*(poor==1)*(poorctc21==0)*poorc
> tc21nother

. egen totgroup5a=sum(group5)

. 
. gen pov1=(poor*group)/(group)
(23,056 missing values generated)

. gen pov2=(poor*group*(poorctc21==1))/(group)
(23,056 missing values generated)

. gen pov3=(poor*group*(poorctc21==1)+group4/newnumkidswt17+group5/newnumkidswt17)
> /(group)
(23,056 missing values generated)

. 
. egen pop=sum(group*newnumkidswt17)

. forvalues i=1/3{
  2.         egen povnum`i'a=sum(pov`i'*newnumkidswt17)
  3.         gen povrate`i'=povnum`i'a/pop
  4.         }

. drop pov1 pov2 pov3 povrate* pop group5 group*

. 
. * row 2
. gen double group=(married==0)*(incwage>0)*(v25==0)*(agi2017<80000)*(calckids>0)*
> (samplejustwomen==1)

. 
. gen double group1=newnumkidswt17*avgtax*.25*group

. egen totgroup1b=sum(group1)

. 
. gen double group2=newnumkidswt17*avgtax*.25*group*poor

. egen totgroup2b=sum(group2)

. 
. gen double group3=newnumkidswt17*avgtax*.25*group*(poor==0)

. egen totgroup3b=sum(group3)

. 
. gen double group4=newnumkidswt17*avgtax*.25*group*(poor==0)*poorctc21nother

. egen totgroup4b=sum(group4)

. 
. gen double group5=newnumkidswt17*avgtax*.25*group*(poor==1)*(poorctc21==0)*poorc
> tc21nother

. egen totgroup5b=sum(group5)

. 
. gen pov1=(poor*group)/(group)
(25,243 missing values generated)

. gen pov2=(poor*group*(poorctc21==1))/(group)
(25,243 missing values generated)

. gen pov3=(poor*group*(poorctc21==1)+group4/newnumkidswt17+group5/newnumkidswt17)
> /(group)
(25,243 missing values generated)

. 
. egen pop=sum(group*newnumkidswt17)

. forvalues i=1/3{
  2.         egen povnum`i'b=sum(pov`i'*newnumkidswt17)
  3.         gen povrate`i'=povnum`i'b/pop
  4.         }

. drop pov1 pov2 pov3 povrate* pop group5 group*

. 
. * row 3
. gen double group=(married==1)*(incwage>0)*(agi2017<80000)*(calckids>0)*(sampleju
> stwomen==1)

. 
. gen double group1=newnumkidswt17*avgtax*.25*group

. egen totgroup1c=sum(group1)

. 
. gen double group2=newnumkidswt17*avgtax*.25*group*poor

. egen totgroup2c=sum(group2)

. 
. gen double group3=newnumkidswt17*avgtax*.25*group*(poor==0)

. egen totgroup3c=sum(group3)

. 
. gen double group4=newnumkidswt17*avgtax*.25*group*(poor==0)*poorctc21nother

. egen totgroup4c=sum(group4)

. 
. gen double group5=newnumkidswt17*avgtax*.25*group*(poor==1)*(poorctc21==0)*poorc
> tc21nother

. egen totgroup5c=sum(group5)

. 
. gen pov1=(poor*group)/(group)
(22,365 missing values generated)

. gen pov2=(poor*group*(poorctc21==1))/(group)
(22,365 missing values generated)

. gen pov3=(poor*group*(poorctc21==1)+group4/newnumkidswt17+group5/newnumkidswt17)
> /(group)
(22,365 missing values generated)

. 
. egen pop=sum(group*newnumkidswt17)

. forvalues i=1/3{
  2.         egen povnum`i'c=sum(pov`i'*newnumkidswt17)
  3.         gen povrate`i'=povnum`i'c/pop
  4.         }

. drop pov1 pov2 pov3 povrate* pop group5 group*

. 
. * row 4
. gen double group=(married==1)*(totincwage>incwage)*(agi2017<80000)*(calckids>0)*
> (samplejustwomen==1)

. 
. gen double group1=newnumkidswt17*newrtwchangespouse*.25*group

. egen totgroup1d=sum(group1)

. 
. gen double group2=newnumkidswt17*newrtwchangespouse*.25*group*poor

. egen totgroup2d=sum(group2)

. 
. gen double group3=newnumkidswt17*newrtwchangespouse*.25*group*(poor==0)

. egen totgroup3d=sum(group3)

. 
. gen double group4=newnumkidswt17*newrtwchangespouse*.25*group*(poor==0)*poorctc2
> 1notspouse

. egen totgroup4d=sum(group4)

. 
. gen double group5=newnumkidswt17*newrtwchangespouse*.25*group*(poor==1)*(poorctc
> 21==0)*poorctc21notspouse

. egen totgroup5d=sum(group5)

. 
. gen pov1=(poor*group)/(group)
(20,333 missing values generated)

. gen pov2=(poor*group*(poorctc21==1))/(group)
(20,333 missing values generated)

. gen pov3=(poor*group*(poorctc21==1)+group4/newnumkidswt17+group5/newnumkidswt17)
> /(group)
(20,333 missing values generated)

. 
. egen pop=sum(group*newnumkidswt17)

. forvalues i=1/3{
  2.         egen povnum`i'd=sum(pov`i'*newnumkidswt17)
  3.         gen povrate`i'=povnum`i'd/pop
  4.         }

. drop pov1 pov2 pov3 povrate* pop group5 group*

. 
. * row 5: sum up non-mom and potential spouse
. gen person1=(incwage>0)*(agi2017<80000)*(calckids>0)*(samplenotmoms==1)

. gen person2=(totincwage>incwage)*(agi2017<80000)*(calckids>0)*(samplenotmoms==1)
> *(married==1)

. 
. gen double group1=(newnumkidswt17*person1+newnumkidswt17*person2)*avgtax*.25

. egen totgroup1e=sum(group1)

. 
. gen double group2=(newnumkidswt17*person1+newnumkidswt17*person2)*avgtax*.25*poo
> r

. egen totgroup2e=sum(group2)

. 
. gen double group3=(newnumkidswt17*person1+newnumkidswt17*person2)*avgtax*.25*(po
> or==0)

. egen totgroup3e=sum(group3)

. 
. gen double group4=(newnumkidswt17*person1)*avgtax*.25*(poor==0)*poorctc21nother+
> (newnumkidswt17*person2)*avgtax*.25*(poor==0)*poorctc21notspouse

. egen totgroup4e=sum(group4)

. 
. gen double group5=(newnumkidswt17*person1)*avgtax*.25*(poor==1)*(poorctc21==0)*p
> oorctc21nother+newnumkidswt17*person2*avgtax*.25*(poor==1)*(poorctc21==0)*poorct
> c21notspouse

. egen totgroup5e=sum(group5)

. 
. gen pov1=(poor*(person1*newnumkidswt17+person2*newnumkidswt17))

. gen pov2=(poorctc21*(person1*newnumkidswt17+person2*newnumkidswt17))

. gen pov3=(poorctc21*(person1*newnumkidswt17+person2*newnumkidswt17)+group4+group
> 5)

. 
. egen pop=sum(newnumkidswt17*person1+newnumkidswt17*person2)

. forvalues i=1/3{
  2.         egen povnum`i'e=sum(pov`i')
  3.         gen povrate`i'=povnum`i'e/pop
  4.         }

. 
. drop pov1 pov2 pov3 povrate* pop group5 group*

. 
. forvalues i=1/2{
  2.         di totgroup`i'a+totgroup`i'b+totgroup`i'c+totgroup`i'd+totgroup`i'e
  3. }
1565945.7
271835.27

. di totgroup4a+totgroup4b+totgroup4c+totgroup4d+totgroup4e+totgroup5a+totgroup5b+
> totgroup5c+totgroup5d+totgroup5e
513513.21

. 
. di totkids
72975832

. di totpoorkids
10204335

. di totstillpoor
6939056.5

. di (totstillpoor+totgroup4a+totgroup4b+totgroup4c+totgroup4d+totgroup4e+totgroup
> 5a+totgroup5b+totgroup5c+totgroup5d+totgroup5e)
7452569.7

. di totpoorkids/totkids
.1398317

. di totstillpoor/totkids
.09508705

. di (totstillpoor+totgroup4a+totgroup4b+totgroup4c+totgroup4d+totgroup4e+totgroup
> 5a+totgroup5b+totgroup5c+totgroup5d+totgroup5e)/totkids
.10212381

. di "pov % decrease="
pov % decrease=

. di (totpoorkids-(totstillpoor+totgroup4a+totgroup4b+totgroup4c+totgroup4d+totgro
> up4e+totgroup5a+totgroup5b+totgroup5c+totgroup5d+totgroup5e))/totpoorkids
.2696663

. drop totgroup* povnum* person*

. 
. log close
      name:  <unnamed>
       log:  G:\My Drive\Research\CTC expansion\submission\ntj\stata replication f
> iles/output\table12.log
  log type:  text
 closed on:   3 Dec 2023, 18:17:42
----------------------------------------------------------------------------------
